package cn.supermaster.management.web.controller.control;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * All rights Reserved, Designed By www.super-bytecode.com
 *
 * @ProjectName: supermaster-management
 * @Package: cn.supermaster.management.web.controller.control
 * @ClassName: DialogController
 * @Description: [模态窗口]
 * <p> </p>
 * @Author: [Lance Ting]
 * @Date: 2021/1/9 13:36
 * @Version: V1.0
 * @Copyright: 2021 www.super-bytecode.com Inc. All rights reserved.
 * TODO: 注意,本文件Lance Ting所作,如果转载或使用请标明具体出处!
 **/
@Controller
@RequestMapping("/control/modal")
public class DialogController {

    private String prefix = "control/modal";

    /**
     * @Description: [模态窗口]
     * <p></P>
     * @Title: skipDialogHtml
     * @Author: Lance Ting
     * @Date: 2021-01-16
     * @Return: java.lang.String
     */
    @GetMapping("/dialog")
    public String skipDialogHtml() {
        return prefix + "/dialog";
    }

    /**
     * @Description: [弹层组件]
     * <p></P>
     * @Title: skipLayerHtml
     * @Author: Lance Ting
     * @Date: 2021-01-16
     * @Return: java.lang.String
     */
    @GetMapping("/layer")
    public String skipLayerHtml() {
        return prefix + "/layer";
    }

    /**
     * @Description: [表单]
     * <p></P>
     * @Title: skipFormHtml
     * @Author: Lance Ting
     * @Date: 2021-01-16
     * @Return: java.lang.String
     */
    @GetMapping("/form")
    public String skipFormHtml() {
        return prefix + "/form";
    }

    /**
     * @Description: [表格]
     * <p></P>
     * @Title: skipTableHtml
     * @Author: Lance Ting
     * @Date: 2021-01-16
     * @Return: java.lang.String
     */
    @GetMapping("/table")
    public String skipTableHtml() {
        return prefix + "/table";
    }

    /**
     * @Description: [表格check]
     * <p></P>
     * @Title: skipCheckHtml
     * @Author: Lance Ting
     * @Date: 2021-01-16
     * @Return: java.lang.String
     */
    @GetMapping("/check")
    public String skipCheckHtml() {
        return prefix + "/table/check";
    }

    /**
     * @Description: [表格radio]
     * <p></P>
     * @Title: skipRadioHtml
     * @Author: Lance Ting
     * @Date: 2021-01-16
     * @Return: java.lang.String
     */
    @GetMapping("/radio")
    public String skipRadioHtml() {
        return prefix + "/table/radio";
    }

    /**
     * @Description: [表格回传父窗体]
     * <p></P>
     * @Title: skipParentHtml
     * @Author: Lance Ting
     * @Date: 2021-01-16
     * @Return: java.lang.String
     */
    @GetMapping("/parent")
    public String skipParentHtml() {
        return prefix + "/table/parent";
    }
}
